import request from '@/router/axios';
const urlPrefix = '/admin';

export function list(data) {
    return request.post(urlPrefix + '/business_category/list', data).then(data=>{
        return data || [];
    });
}
export function create(data) {
    return request.post(urlPrefix + '/business_category/add', data);
}
export function removeById(id) {
    return request.post(urlPrefix + '/business_category/category/delete', {
        id
    });
}
